﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DSSanPham.ascx.cs" Inherits="iShopping.Guest.UserControl.DSSanPham" %>
   <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <asp:DataList ID="DataList1" runat="server" RepeatColumns ="3">
    <ItemTemplate>
        <table id="Single" border="0" style="margin: 5px" 
    width="180">
            <tr>
                <td class="style1" colspan="4">
                    <asp:Image ID="Image1" runat="server" 
                ImageUrl="~/images/single.png" />
                </td>
            </tr>
            <tr>
                <td align="center" colspan="4">
                    <asp:HyperLink ID="HyperLink1" runat="server" 
                NavigateUrl='<%# "~/Guest/ChiTietSanPham.aspx?pgn=1&id=" + Eval("MaSanPham") %>' 
                Text='<%# Eval("TenSanPham") %>'></asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td align="center" width="46">
                    <asp:Image ID="Image2" runat="server" 
                ImageUrl="~/images/H1.png" />
                </td>
                <td align="center" width="43">
                    <asp:Image ID="Image3" runat="server" 
                ImageUrl="~/images/H2.png" />
                </td>
                <td align="center" width="43">
                    <asp:Image ID="Image4" runat="server" 
                ImageUrl="~/images/H3.png" />
                </td>
                <td align="center" class="style1">
                    <asp:Image ID="Image5" runat="server" 
                ImageUrl="~/images/H4.png" />
                </td>
            </tr>
            <tr>
                <td align="center" colspan="4">
                    <asp:Image ID="Image6" runat="server" Height="93px" 
                ImageUrl='<%# Eval("HinhAnh") %>' style="margin-right: 9px" Width="95px" />
                </td>
            </tr>
            <tr>
               <td colspan="4" align="center" style="font-family: 'Times New Roman', Times, serif; font-size: medium; text-transform: uppercase; color: #66CCFF">
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="4" align ="center" colspan="4" align="center" style="font-family: 'Times New Roman', Times, serif; font-size: medium; text-transform: uppercase; color: #FF0000"
                    >
                    &nbsp;<asp:Label ID="Label2" runat="server" Text="0"></asp:Label>
                    VND</td>
            </tr>
            <tr>
                <td align="center" colspan="4" style="font-size:14px">
                    Giá bán lẻ:
                    <asp:Label ID="lblGia" runat="server" 
                Text='<%# Eval("GiaKhoiDiem") %>'></asp:Label>
                    VNĐ
                </td>
            </tr>
            <tr style="margin: 3px">
                <td colspan="4" style="background-color:#9999FF">
                    <asp:Image ID="Image7" runat="server" 
                ImageUrl="~/images/beginner.png" />
                    Tên người đang đấu giá</td>
            </tr>
            <tr>
                <td align="center" colspan="4" height="32">
                     <asp:ImageButton ID="ImageButton1" runat="server" 
                                    ImageUrl="~/images/ChiTiet/bid_btn.png" 
                         onclick="ImageButton1_Click1" />                    
                </td>
            </tr>
        </table>
    </ItemTemplate>

</asp:DataList>
<!-- end datalist -->
        <asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick">
        </asp:Timer>
       <!-- end time -->
    </ContentTemplate>
    </asp:UpdatePanel>

<br />
<asp:ImageButton ID="ImageButton1" runat="server" Height="16px" 
    ImageUrl="~/images/truoc.gif" onclick="ImageButton1_Click" />
<asp:Label ID="lblPageSize" runat="server" Text="9"></asp:Label>
|<asp:Label ID="lblCurrentIndex" runat="server" Text="0"></asp:Label>
|<asp:Label ID="lblRecordCount" runat="server"></asp:Label>
|<asp:Label ID="lblCount" runat="server"></asp:Label>
<asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/sau.gif" 
    onclick="ImageButton2_Click" />
